package cn.bean;

/**
 * mq事件枚举
 *
 * @author zhanghui145
 * @date 2022/1/14 16:48
 * @since 1.0.0
 */
public enum MqEvent {
    MQ_ONCE("mqOnce", "一次性消费");

    private String code;
    private String desc;

    MqEvent(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
